<?php 
include "connect.php";
$reg_no=$_POST['reg_no'];
$password=$_POST['password'];
$type=$_POST['type'];

$dbquery=mysql_query ("INSERT INTO student_login (reg_no,password,type) 
VALUES ('$reg_no','$password','$type')");
mysql_query($dbquery);
	
header("location:create_student_account_success.php");
?>